<template>
<div>
	<HelloWorld @increaseParentCount="increase"/>
	<p>count:{{count}}</p>
</div>
</template>
<script setup>
import {ref} from "vue"
import HelloWorld from "../components/Emits.vue"
const count=ref(0)
const increase=(step)=>{
	count.value+=step
}
</script>